import pytest


@pytest.fixture()
def add():
    print("加法运算")
    yield
    print("运算结束")

@pytest.fixture()
def sub():
    print("减法运算")
    yield
    print("运算结束")

@pytest.fixture()
def multi():
    print("乘法运算")
    yield
    print("运算结束")

@pytest.fixture()
def divide():
    print("除法运算")
    yield
    print("运算结束")
